<?php
use Itaoke\RequestCheckUtil;
/**
 * TOP API: taobao.areas.get request
 *
 * @author auto create
 * @since 1.0, 2018.07.26
 */
class ItaokeAreasGetRequest
{
    /**
     * 需返回的字段列表.可选值:Area 结构中的所有字段;多个字段之间用","分隔.如:id,type,name,parent_id,zip.
     **/
    private $fields;
    
    private $apiParas = array();
    
    public function setFields($fields)
    {
        $this->fields = $fields;
        $this->apiParas["fields"] = $fields;
    }

    public function getFields()
    {
        return $this->fields;
    }

    public function getApiMethodName()
    {
        return "itaoke.areas.get";
    }
    
    public function getApiParas()
    {
        return $this->apiParas;
    }
    
    public function check()
    {
        
    }
    
    public function putOtherTextParam($key, $value) {
        $this->apiParas[$key] = $value;
        $this->$key = $value;
    }
}
